﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core.Model;

namespace PersonalHealth.Data.Model
{
    public class HealthReport : SynchronizeItem
    {
        public int HealthReportTypeId { get; set; }
        public int UserId { get; set; }
        public string Title { get; set; }
        public string Text { get; set; }


        public virtual User User { get; set; }

        public virtual HealthReportType HealthReportType
        {
            get
            {
                messageType = (HealthReportType)HealthReportTypeId;
                return messageType;
            }
            set
            {
                HealthReportTypeId = (int)value;
                messageType = value;
            }
        }

        private HealthReportType messageType;
    }
}
